﻿using System;
using System.Collections.Generic;
using eslib.py;
using Python.Runtime;

namespace test
{
    class Program
    {

        static void Main(string[] args)
        {
            PyTest3 t3 = new PyTest3();
            t3.test();


            //直接使用py引擎的测试
            //PyTest1 t1 = new PyTest1();
            //t1.test();


            ////预编译测试,生命周期测试
            //PyTest2 t2 = new PyTest2();
            //t2.test();


            ////直接执行
            //_ = PyEngine.Invoke(() =>
            //  {
            //      dynamic np = Py.Import("numpy");
            //      dynamic ary = np.array(new List<float> { 1, 2, 3 });
            //      Console.WriteLine(ary);
            //  });


            Console.ReadKey(true);
        }

    }
}
